/**
 * 设置#app前所有祖先元素height: 100%;
 * @export
 */
const setBody = {};
setBody.setBodyHeight = () => {
        document.querySelectorAll('html')[0].style.height = "100%";
        document.querySelectorAll('body')[0].style.height = "100%";
        document.querySelectorAll('#app')[0].style.height = "100%";
    },
    setBody.resetBodyHeight = () => {
        document.querySelectorAll('html')[0].style.height = "auto";
        document.querySelectorAll('body')[0].style.height = "auto";
        document.querySelectorAll('#app')[0].style.height = "auto";
    }
export default setBody;